From b17c3867f900c8851a25cc6bdac835c053c321c0 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 21 Aug 2003 11:33:17 +0000 Subject: [PATCH] Patch to create interwiki table in database for interwiki mappings. --- maintenance/archives/patch-interwiki.sql | 11 +++++++++++ maintenance/archives/patch-list.txt | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 maintenance/archives/patch-interwiki.sql diff --git a/maintenance/archives/patch-interwiki.sql b/maintenance/archives/patch-interwiki.sql new file mode 100644 index 0000000000..0fa40cdf2a --- /dev/null +++ b/maintenance/archives/patch-interwiki.sql @@ -0,0 +1,11 @@ +-- Creates interwiki prefix<->url mapping table +-- used from 2003-08-21 dev version. +-- Import the default mappings from maintenance/interwiki.sql + +CREATE TABLE interwiki ( + iw_prefix char(32) NOT NULL, + iw_url char(127) NOT NULL, + iw_local BOOL NOT NULL, + UNIQUE KEY iw_prefix (iw_prefix) +); + diff --git a/maintenance/archives/patch-list.txt b/maintenance/archives/patch-list.txt index c16ec35b8b..7bf9deb572 100644 --- a/maintenance/archives/patch-list.txt +++ b/maintenance/archives/patch-list.txt @@ -114,3 +114,14 @@ OutputPage.php User.php maintenance/buildTables.inc maintenance/patch-cache.sql * 2003-05-30: File upload license fields Adds fields to 'image' table. +INCOMPLETE, DO NOT USE + + +* 2003-08-21: Interwiki URL table +Moves the interwiki prefix<->url mapping table from a static array +into the database. If you've got a custom table, be sure to make +your changes! + +Run patch-interwiki.sql to create the interwiki table, then the +plain interwiki.sql to load up the default set of mappings. + -- 2.20.1